home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 December / Chip_2001-12_cd1.bin / zkuste / tuning / download / xteq / setup.exe / {app} / plugins / XQ Folder Comments.xpl < prev    next >
Text File  |  2001-05-14  |  2KB  |  58 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="4"
  3. "COUNT"="1"
  4. "UIPATH"="Appearance\Files&Folders\Folders"
  5. "NAME"="Folder Comments"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.07"
  8. "OSVERSION"="000101"
  9. "TEXT 1"="Folder:"
  10. "DESCRIPTION 1"="If you have activated the "Details" view inside Explorer, you can see all details of a file or folder."
  11. "DESCRIPTION 2"="By right-clicking on one of the column titles in Explorer, you can bring up a list of more items to be displayed."
  12. "DESCRIPTION 3"="In this window, you'll find a button titled "More" that can be used to show the "Comment" field which is very useful."
  13. "DESCRIPTION 4"=" "
  14. "DESCRIPTION 5"="Normally, a folder can not have a comment, but with this plug-in you can add one: just select the folder you want to comment, then press "Apply"."
  15. "DESCRIPTION 6"="NOTE: If you are viewing this folder inside Explorer while using this plug-ins, you need to press F5 to refresh the display."
  16. "AUTHOR"="Xteq Systems"
  17. "CONTACTURL"="http://www.xteq.com"
  18. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  19. "COMMENT 1"=" "
  20. "COMMENT 2"="Thanks to CptSiskoX, Pierre and Ojatex for their help!"
  21.  
  22.  
  23.  
  24. sFile="desktop.ini"
  25. sSec=".ShellClassInfo"
  26. sValName="InfoTip"
  27.  
  28. Sub Plugin_Initialize 
  29. End Sub
  30.  
  31.  
  32. Sub Plugin_CheckData(ElementIndex)
  33. End Sub
  34.  
  35.  
  36.  
  37. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  38.  sPath=GetUIElement(1)
  39.  if right(sPath,1)<>"\" then
  40.     sPath=sPath & "\"
  41.  end if
  42.  
  43.  sValue=IniReadValue(sPath & sFile,sSec,sValName)
  44.  
  45.  sComment=InputWindow("Comment for '" & sPath & "'",sValue,1)
  46.  if IsEmpty(sComment)=false then
  47.     Call IniWriteValue(sPath & sFile,sSec,sValName,sComment)
  48.     Call MsgInformation("Comment for folder '" & sPath & "' set to '" & sComment & "'")
  49.  end if
  50. End Sub
  51.  
  52.  
  53. Sub Plugin_Terminate 
  54. End Sub
  55.  
  56.  
  57.  
  58.